package com.haojii.jdo.basic;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class JSTLServlet extends HttpServlet {

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		User u = new User("firstName","lastName","tel:13813813888");
		req.setAttribute("user", u);
		req.getRequestDispatcher("jstl.jsp").forward(req, resp);
	}

}
